﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Zyg.SSO.Web._Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Zyg SSO</title>
    <style type="text/css">
        #theme
        {
            float: right;
            padding-right: 20px;
        }
        #theme li
        {
            float: left;
            margin-left: 5px;
        }
        #theme a
        {
            float: left;
            margin-top: 2px;
            display: block;
            width: 10px;
            height: 10px;
        }
        #theme a.gray
        {
            background-color: #cccccc;
        }
        #theme a.blue
        {
            background-color: #3399ff;
        }
        #theme a.green
        {
            background-color: #66ff66;
        }
        #theme a.red
        {
            background-color: #aa0000;
        }
        #theme a.current
        {
            margin-top: 0px;
            border: solid 2px #ffffff;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div id="wrapper">
        <div id="head">
            <div id="headContent">
                <div id="siteTitle">
                    <div style="float: left;">
                        Zyg SSO 用户中心</div>
                    <ul id="theme">
                        <li><a id="theme-gray" class="gray" href="javascript:;"></a></li>
                        <li><a id="theme-blue" class="blue" href="javascript:;"></a></li>
                        <li><a id="theme-green" class="green" href="javascript:;"></a></li>
                        <li><a id="theme-red" class="red" href="javascript:;"></a></li>
                    </ul>
                </div>
                <div id="navBar" style="display: none;">
                    <ul id="menu">
                        <li><a href="AccountManage.aspx" class="current">用户管理</a></li>
                        <li><a href="AdminManage.aspx">管理员管理</a></li>
                        <li><a href="RoleManage.aspx">角色管理</a></li>
                        <li><a href="AppManage.aspx">应用管理</a></li>
                        <li><a href="SysSettings.aspx">系统设置</a></li>
                    </ul>
                </div>
            </div>
        </div>
        <div id="sepBar">
        </div>
        <div id="common">
            <div id="userInfo">
                当前用户:
                <%= ((Zyg.SSO.Core.Business.Account)Session["User"]).Email %></div>
            <div id="time">
            </div>
            <div id="commonAction">
                <div id="logout">
                    <asp:HyperLink ID="Logout" NavigateUrl="~/Logout.aspx" runat="server">安全退出</asp:HyperLink>
                </div>
            </div>
        </div>
        <div id="content" class="clearfix">
            <div id="left">
                <div class="navItem">
                    <a href="APList.aspx" target="contentFrame"><span>我的应用</span></a>
                </div>
                <div class="navItem">
                    <a href="User/Mine.aspx" target="contentFrame"><span>个人信息</span></a>
                </div>
                <div class="navItem">
                    <a href="User/Security.aspx" target="contentFrame"><span>密保信息</span></a>
                </div>
                <div class="navItem">
                    <a href="javascript:;"><span>帮助手册</span></a>
                </div>
                <div id="support">
                    <div id="supportHead">
                        技术支持</div>
                    <ul id="supportItem">
                        <li>Tel: 13594607275</li>
                        <li>QQ: 461663432</li>
                        <li>Email: yanggu1988@163.com</li>
                    </ul>
                </div>
            </div>
            <div id="right">
                <iframe id="contentFrame" name="contentFrame" src="APList.aspx" width="100%" height="400"
                    frameborder="0" scrolling="no"></iframe>
            </div>
        </div>
        <div id="footer">
            <asp:Literal ID="Copyright" runat="server"></asp:Literal>
        </div>
    </div>
    </form>

    <script type="text/javascript" src="/script/jquery/jquery-1.2.6.min.js" charset="utf-8"></script>

    <script type="text/javascript" src="/script/jquery/jquery.cookie.js" charset="utf-8"></script>

    <script type="text/javascript" src="/script/zyg.sso.js" charset="utf-8"></script>

    <script type="text/javascript">
        zyg.sso.showTime("#time");

        zyg.iframe.autoFitHeight('#contentFrame');

        zyg.sso.theme();
    </script>

</body>
</html>
